<?php

namespace app\common\model;

use think\Model;

/**
 * em_role 角色表
 * @property integer $id
 * @property integer $parent_id 父角色ID
 * @property integer $status 状态;0:禁用;1:正常
 * @property integer $create_time 创建时间
 * @property integer $update_time 更新时间
 * @property float $list_order 排序
 * @property string $name 角色名称
 * @property string $type 角色类型
 * @property string $remark 备注
 * @property string $rules
 */
class Role extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'em_role';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';


}
